package com.bsj.sipgateway.mysql.bsj.vehicle.service;

import com.bsj.sipgateway.mysql.bsj.vehicle.entity.Vehicle;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 车辆信息 服务类
 * </p>
 *
 * @author wph
 * @since 2022-08-04
 */
public interface IVehicleService extends IService<Vehicle> {

    public List<Vehicle> queryVehicleAndGroup();

    public int updateChannelId(String deviceId,String channelId);

    public int updateChannelByAliasName(String device,String aliasName,String channelId);

    public int upDateChannel(String device,String aliasName,String channelId);


    public int updateExpireDate(String deviceId);

    public int sendMqUpdate(Vehicle vehicle);
}
